using System;
using ns27;

namespace Triton.Game.Mapping
{
	[Attribute38("MiddleGamesWonSegment")]
	public class MiddleGamesWonSegment : GamesWonSegment
	{
		public GameObject m_root1 => method_3<GameObject>("m_root1");

		public GameObject m_root2 => method_3<GameObject>("m_root2");

		public GameObject m_activeRoot => method_3<GameObject>("m_activeRoot");

		public MiddleGamesWonSegment(IntPtr address, string className)
			: base(address, className)
		{
		}

		public MiddleGamesWonSegment(IntPtr address)
			: this(address, "MiddleGamesWonSegment")
		{
		}

		public new void Init(Reward.Type rewardType, int rewardAmount, bool hideCrown)
		{
			method_8("Init", rewardType, rewardAmount, hideCrown);
		}

		public new float GetWidth()
		{
			return method_11<float>("GetWidth", Array.Empty<object>());
		}
	}
}
